//
//  PopGestureRecognizerManager.h
//  ScreenPoP
//
//  Created by wr on 2019/7/3.
//  Copyright © 2019年 wanmengchao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PopGestureRecognizerManagerConfiger.h"
#import "PopGestureRecognizerDelegate.h"

NS_ASSUME_NONNULL_BEGIN

@interface PopGestureRecognizerManager : NSObject

/// 配置
@property (nonatomic, strong, nonnull) PopGestureRecognizerManagerConfiger *config;

/// 返回代理
@property (nonatomic, weak) id<PopGestureRecognizerDelegate> delegate;

/// 单例
+ (instancetype)shareManager;

/// 注册
/// @param config 配置信息
/// @param block 注册回调
- (void)registerManagerWithConfig:(PopGestureRecognizerManagerConfiger * __nullable)config completeBlock:(void(^ __nullable)(BOOL isSuccess, NSString *failString))block;
@end

NS_ASSUME_NONNULL_END
